<html>
<head>

<title>Playing a Sound</title>

<style type="text/css">
body {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 11px;
	color: #0B333C;
	padding: 10px;
}
</style>

<script type="text/javascript" src="lib/air/AIRAliases.js"></script>
<script type="text/javascript" src="lib/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="lib/jquery/jquery.timers-1.1.2.js"></script>
<script type="text/javascript" src="js/sonic-alert.js"></script>
<script type="text/javascript" src="js/sonic-ui.js"></script>

<script src="lib/servicemonitor.swf" type="application/x-shockwave-flash" />

<script type="text/javascript">
	
	$(document).ready(function(){
		sonicAlert.debug = true;
		sonicUI.init(); // Setup main UI
	});

</script>

</head>
<body>
	
<div>
	<p>Sonic Alert is an AIR app that will play a sound file when a remote JSON counter is incremented.  See 'local-json.txt' as an example.</p>
	<input id="btnExit" type="button" value="Exit" > &nbsp; 
	<input id="btnPlay" type="button" value="Play" /> &nbsp; 
	<input id="btnPrefs" type="button" value="Preferences" /> 
</div>

<span style="position: absolute; bottom: 5px; right: 5px;">users: <span id="userCount"></span></span>

</body>
</html>